<script setup lang="ts">
import { onMounted } from 'vue'
import { RouterView } from 'vue-router'
import { useUserStore } from '@renderer/stores/user'

onMounted(() => useUserStore().getUserInfo())

document.body.setAttribute('data-theme', 'dark')
</script>

<template>
  <RouterView />
</template>

<style lang="less" scoped></style>
